00001 <?php 00002 /*--------------------------------------------------------------------------+ 00003 This file is part of eStudy. 00004 messaging/messaging_detail.php 00005 - Modulgruppe: Messaging 00006 - Beschreibung: Gibt die detailierte Ansicht der Nachricht aus. 00007 - Version: 0.2, 21.01.2009 00008 - Autor(en): 00009 Alexander Rausch <alexander.rausch@mni.fh-giessen.de> [Refactoring WS 08/09], 00010 Waldemar Krampetz <waldemar.krampetz@mni.fh-giessen.de>, 00011 Dennis Bayer <dennis.bayer@mni.fh-giessen.de><bayer.d@gmx.de> 00012 +---------------------------------------------------------------------------+ 00013 This program is free software; you can redistribute it and/or 00014 modify it under the terms of the GNU General Public License 00015 as published by the Free Software Foundation; either version 2 00016 of the License, or any later version. 00017 +---------------------------------------------------------------------------+ 00018 This program is distributed in the hope that it will be useful, 00019 but WITHOUT ANY WARRANTY; without even the implied warranty of 00020 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00021 GNU General Public License for more details. 00022 You should have received a copy of the GNU General Public License 00023 along with this program; if not, write to the Free Software 00024 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 00025 +--------------------------------------------------------------------------*/ 00036 define("PATH_TO_ROOT", "../"); 00038 require_once (PATH_TO_ROOT."messaging/classes/class.messaging.inc.php"); 00039 /* CSS einbinden */ 00040 Messaging::includeMessagingCSSFile(); 00041 /* globale Defines setzten */ 00042 Messaging::setGlobalVariables(); 00043 00045 require_once (PATH_TO_ROOT."common/init.inc.php"); 00047 require_once (PATH_TO_ROOT."common/header.inc.php"); 00049 require_once (PATH_TO_ROOT."messaging/classes/class.buddylist.inc.php"); 00051 require_once (PATH_TO_ROOT."messaging/classes/class.messaging_detail.inc.php"); 00052 ?> 00053 <div class="messaging_mainbox"> 00054 <?php 00055 /* Generelle Messaging Helper Klasse initalisieren */ 00056 $messaging = new Messaging($_SESSION["userid"]); 00057 00058 /* Klasse für "Nachrichtendetails" initalisieren */ 00059 $messagingdetail = new MessagingDetail($messaging); 00060 00061 /* HTML von Nachrichtendetails ausgeben */ 00062 $messagingdetail->echoMessageDetail(); 00063 ?> 00064 </div> 00065 <div> 00066 <?php 00067 if($messagingdetail->runExecution()) { 00068 $buddylist = new Buddylist($_SESSION["userid"]); 00069 $buddylist->echoBuddylist(); 00070 } 00071 ?> 00072 </div> 00073 <?php 00075 require_once (PATH_TO_ROOT."common/footer.inc.php"); 00076 ?>
1.6.1